package com.qyer.commons.kafka;

import com.qyer.commons.concurrent.PoisonPill;

/**
 * User: Z J Wu Date: 2016/07/22 Time: 14:14 Package: com.qyer.commons.kafka
 */
public interface SelfSerializableRecord<T> extends PoisonPill<T> {

  byte[] toBytes();

  String toKey();

  Summary getSummary();

}
